package cn.com.greatwall.system.modules.mnt.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cn.com.greatwall.system.modules.mnt.domain.ServerDeploy;

/**
 * @Author herw
 * @Time 2020-11-10 11:23:32
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
public interface ServerDeployRepository extends JpaRepository<ServerDeploy, Long>, JpaSpecificationExecutor<ServerDeploy> {
    /**
     * 根据IP查询
     * @param ip /
     * @return /
     */
    ServerDeploy findByIp(String ip);
}
